package com.example.administrator.zhongyichou.net.presentor;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

import java.util.Map;

import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

public interface JoinActionAPI {
//    @FormUrlEncoded
//    @POST()
//    Observable<ResponseBody> getRequest(@Url String url, @Field("data") String data);
    @FormUrlEncoded
    @POST("api.php")
    Observable<ResponseBody> getRequest(@FieldMap Map<String, String> map,@FieldMap Map<String, JSONArray> map1);
}
